package com.qqtop10.manager.dao;

import java.util.List;

import com.qqtop10.manager.model.BlackList;
import com.qqtop10.manager.model.SelectBlackList;

/*
    <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
	<select id="selectByValue" resultMap="BaseResultMap" parameterType="java.lang.String">
	<select id="selectByType" resultMap="BaseResultMap" parameterType="java.lang.String">
	<select id="selectByCreationUser" resultMap="BaseResultMap" parameterType="java.lang.String">
	<select id="selectByCreationTime" resultMap="BaseResultMap" parameterType="java.lang.String">
	<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
	<insert id="insert" parameterType="com.qqtop10.shop.model.BlackList">
	<update id="updateByPrimaryKey" parameterType="com.qqtop10.shop.model.BlackList">
	<select id="updateByPrimaryKey" resultMap="BaseResultMap">
	<select id="selectAll" resultMap="BaseResultMap">
 */

public interface BlackListMapper {
	
	int deleteByPrimaryKey(int id);
	
	int updateByPrimaryKey(BlackList blackList);
	
	int insert(BlackList blackList);
	
	List<BlackList> selectAll(SelectBlackList blacklist);
	
	BlackList selectByPrimaryKey(Integer id);
	
	BlackList selectByValue(String value);
	
	List<BlackList> selectByType(BlackList blacklist);
	
	List<BlackList> selectByCreationUser(BlackList blacklist);
	
	List<BlackList> selectByCreationTime(BlackList blacklist);
	
}
